package com.nanhai.buddhist.college.module.study.controller.student.attendance.vo;

import com.nanhai.buddhist.college.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 学生端 分页查询打卡记录
 * @author AKai
 * @date 2022/8/25
 */
@Data
public class StudentClockRecordPageReqVO extends PageParam {

    @ApiModelProperty(value = "星期")
    private Integer weekId;

    @ApiModelProperty(value = "班级ID")
    private String classesId;

    @ApiModelProperty(value = "课程ID")
    private String subjectId;

    @ApiModelProperty(value = "教室信息")
    private String roomId;

    @ApiModelProperty(value = "打卡类型")
    private String clockType;

    @ApiModelProperty(value = "打卡人id")
    private String clockUserId;

    @ApiModelProperty(value = "帮打卡人id")
    private String helpClockId;

    @ApiModelProperty(hidden = true)
    private Integer role;

    @ApiModelProperty(value = "打卡时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] clockTime;


    @ApiModelProperty(value = "查询结束时间")
    private String clockEndTime;

    @ApiModelProperty(value = "查询开始时间")
    private String clockStartTime;

    @ApiModelProperty(value = "查询结束时间",hidden = true)
    private Date clockEndTimeDate;

    @ApiModelProperty(value = "查询开始时间",hidden = true)
    private Date clockStartTimeDate;


    @ApiModelProperty(value = "周期数查询结束时间",hidden = true)
    private Date weekEndTimeDate;

    @ApiModelProperty(value = "周期数查询开始时间",hidden = true)
    private Date weekStartTimeDate;

    @ApiModelProperty(value = "教学计划id")
    private String studyPlanId;

    @ApiModelProperty(value = "学期下标")
    private Integer semesterIndex;

    @ApiModelProperty(value = "查询第几周数据")
    private Integer weekNo;



    @ApiModelProperty(value = "打卡结果")
    private String clockStatus;

}
